<!DOCTYPE html>
<html>

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>华猫商城</title>
		<style></style>
		<link href="../css/jquery.validator.css" rel="stylesheet">
		<link href="../css/common.css" rel="stylesheet">

		<link href="../plugin/userLib/css/user.css" rel="stylesheet">
		<link href="../plugin/userLib/css/userinfo.css" rel="stylesheet">
		<link href="../plugin/userLib/css/my_user.css" rel="stylesheet">
		<link href="../css/base.css" rel="stylesheet">
		<style>
			.n-default .n-left,
			.n-default .n-right {
				margin-top: 32px!important;
			}
		</style>
		<style>
			#specsAttrBox .webuploader-container {
				width: 80px;
				height: 20px;
				overflow: hidden;
			}
			
			.ZZHT-form tr th {
				font-size: 14px;
			}
			
			.ZZHT-form tr td {
				font-size: 14px;
			}
			
			.pic_item {
				margin-right: 10px;
				text-align: center;
			}
			
			.pic_item .pic_label {
				font-size: 12px;
			}
		</style>
	</head>

	<body>
		<div id="header"></div>
		<div id="headerBox"></div>
		<!--<div id="nav_menu"></div>-->
		<div class="ZZHT-wrap">
			<div class="ZZHT-header" style="border-bottom: 1px solid #ffffff;">
				<div class="ZZHT-shop-nav">
					<div class="ZZHT-nav-box">
						<a href="#">
							<li class="liselect ZZHT-lfloat ZZHT-nav-boxa">商城商家</li>
						</a>
						<div class="ZZHT-clear"></div>
					</div>
				</div>
				<div class="ZZHT-clear"></div>
			</div>
			<div class="ZZHT-main">
				<div id="onLine_left"></div>
				<div class="ZZHT-content">
					<div class="ZZHT-user-head clearfix"><span class="left fl">店铺信息</span><span class="right fr">当前位置：店铺信息--店铺资料</span></div>
					<div id="tab" class="ZZHT-tab-box">
						<div class="ZZHT-tab-content">
							<form id="editform" autocomplete="off">
								<div class="ZZHT-tab-item" style="position: relative;padding: 30px 0;">
									<table class="ZZHT-form">
										<tbody>
											<tr>
												<th width="150">公司名称：</th>
												<td>{{tab.companyName}}</td>
											</tr>
											<tr>
												<th>营业执照号：</th>
												<td>{{tab.licenseNo}}</td>
											</tr>
											<tr>
												<th>企业类型：</th>
												<td>{{tab.companyType}}</td>
											</tr>
											<tr>
												<th>所属行业：</th>
												<td>{{tab.hyName}}</td>
											</tr>
											<tr>
												<th>营业执照地址：</th>
												<td>{{tab.areas}}</td>
											</tr>
											<tr>
												<th>经营电话：</th>
												<td>{{tab.telephone}}</td>
											</tr>
											<tr>
												<th>店铺图标：</th>
												<td class="clearfix">
													<div class="fl pic_item">
														<div><img id="preview" width="100" height="100" :src="tab.logo"></div>
													</div>
												</td>
											</tr>
											<tr>
												<th>证书图片：</th>
												<td class="clearfix">
													<div class="fl pic_item">
														<div><img id="preview" width="150" height="100" :src="tab.licenseImg"></div>
														<div class="ZZHT-f999 pic_label">营业执照</div>
													</div>
												</td>
											</tr>
										</tbody>
									</table>
								</div>
							</form>
						</div>
					</div>

				</div>
			</div>
			<div style="clear:both;"></div>
			<br>
		</div>
		<div id="ck3"></div>
		<script src="../js/jquery.min.js"></script>
		<script src="../js/vue.min.js"></script>
		<script src="../plugin/layer/layer.js"></script>
		<script src="../js/common.js"></script>
		<script type="text/javascript" src="../js/ljf_base.js"></script>
		<script>
			var vm = new Vue({
				el:'#editform',
				data:{
					tab:{},
				}
			});
			
			$.ajax({
				type: "get",
				url: SURL + "sktShops/findByUserId",
				async: true,
				data: {
					"userId": localStorage.userId,
				},
				success: function(res) {
					console.log(res);

					$.ajax({//获取记录列表
					type: "get",
					url: SURL + "sktShops/findByXSShopsXinxi",
					data: {
						"shopId": res.entity[0].shopId,
					},
					timeout:5000,
					dataType: 'json',
					success: function(res) {
						console.log(res);
						if(res.messageCode==200){
							vm.tab = res.entity[0];
						}else{
							layer.msg(res.message);
						}
					}
				});

				}
			});
			
		</script>
	</body>

</html>